/*
 * @Author: your name
 * @Date: 2021-06-24 16:12:49
 * @LastEditTime: 2021-06-28 08:40:45
 * @LastEditors: Please set LastEditors
 * @Description: 资讯栏目管理api
 * @FilePath: \briup\项目\briup-ui\src\api\infoCategory.js
 */
// 资讯栏目管理api
import request, { post, get } from '@/utils/request'
// 通过id删除
export function batchDeletecategory(data) {
  return get('/category/deleteById', data)
}
// 查询所有咨询分类
export function findAllcategory(data) {
  return get('/category/findAll', data)
}
// 保存或更新
export function saveOrUpdatecategory(data) {
  return post('/category/saveOrUpdate', data)
}
